package com.admin.mapper;

import com.admin.entity.StationKeyRecharge;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author marisheng
 * @since 2019-11-21
 */
public interface StationKeyRechargeMapper extends BaseMapper<StationKeyRecharge> {
//  分页 密钥充值记录 同时开始时间和结束时间
    public IPage queryKeyRecharge(Page p, @Param("m") Map map);

    /**
     * 密钥充值记录
     * @param p
     * @param map
     * @return
     */
    public IPage selectKeyRecharge(Page p,@Param("m") Map map);
}
